package cn.wolfcode.car.business.mapper;

import cn.wolfcode.car.business.domain.GoodsStore;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsStoreMapper {
    int deleteByPrimaryKey(Long id);

    int insert(GoodsStore record);

    GoodsStore selectByPrimaryKey(Long id);

    List<GoodsStore> selectAll();

    int updateByPrimaryKey(GoodsStore record);

    List<GoodsStore> checkGoods(Long id);

    void deleteByGoodsId(Long id);


    GoodsStore selectByGoods(@Param("goodsId") String goodsId, @Param("storeId") String storeId);
}